<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language= "java" contentType="text/html;charset=UTF-8"%> 
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
        <title>Welcome to Archetype</title>
    </head>
    <s:url action="personManage" id="personManageUrl"/>
    <s:url action="payInputAction" id="payInputActionUrl"/>
    <s:url action="heavyDuty" id="heavyDutyUrl"/>
    <s:url action="showRegister" id="showRegisterUrl"/>
    <s:url action="showValidate" id="showValidate"/>
    <s:url action="jsp_jquery_simple" id="jquerySimple"/>
    <body>
        <li><s:a href="%{showRegisterUrl}">Register</s:a></li>
        <li><s:a href="%{personManageUrl}">quickstart person page (dojo/ajax/spring/jpa)</s:a></li>
        <li><s:a href="%{payInputActionUrl}">Preventing Double Submit(will navigate to login page if not login)</s:a></li>        
        <li><s:a href="%{heavyDutyUrl}">displaying a wait page when running a heavy job (execandwait)</s:a></li>
        <li><s:a href="%{payInputActionUrl}">An example of interception that will check if already loginned</s:a></li> 
        <li><s:a href="%{showValidate}">struts2 Validation example</s:a></li> 
        <p>
        <li><s:a href="%{jquerySimple}">ajax jquery simple example</s:a></li> 
        <p/>
        <s:url action="jsp_user_register" id="userRegister"/>
        <li><s:a href="%{userRegister}"><s:text name="text.register"/></s:a></li>
        新功能开发：
        用户注册：
        用户登录：
        
        
        <s:url action="jsp_manage_index" id="managePortal"/>
        <s:url action="jsp_accounting_index" id="accountingPortal"/>
        <p>
        <li><s:a href="%{managePortal}">账簿科目管理</s:a></li> 
        <li><s:a href="%{accountingPortal}">记账</s:a></li>
        <p/>
    </body>
</html>
